<template>
  <footer class="footer">
    <div class="footer-container">
      <div class="footer-section">
        <h3>关于我们</h3>
        <p>宠物服务商城致力于为宠物主人提供优质的一站式服务，包括美容、寄养、训练等全方位服务。</p>
      </div>
      
      <div class="footer-section">
        <h3>快速链接</h3>
        <ul>
          <li><router-link to="/services">服务列表</router-link></li>
          <li><router-link to="/profile">个人中心</router-link></li>
          <li><router-link to="/orders">我的订单</router-link></li>
        </ul>
      </div>
      
      <div class="footer-section">
        <h3>联系我们</h3>
        <ul>
          <li>电话：400-123-4567</li>
          <li>邮箱：support@petshop.com</li>
          <li>地址：某某市某某区某某街道123号</li>
        </ul>
      </div>
      
      <div class="footer-section">
        <h3>关注我们</h3>
        <div class="social-links">
          <a href="#" class="social-link">
            <el-icon><ChatDotRound /></el-icon>
          </a>
          <a href="#" class="social-link">
            <el-icon><Share /></el-icon>
          </a>
        </div>
      </div>
    </div>
    
    <div class="footer-bottom">
      <p>&copy; 2024 宠物服务商城. All rights reserved.</p>
    </div>
  </footer>
</template>

<script>
import { ChatDotRound, Share } from '@element-plus/icons-vue'

export default {
  name: 'AppFooter',
  components: {
    ChatDotRound,
    Share
  }
}
</script>

<style scoped>
.footer {
  background-color: #f5f5f5;
  padding: 40px 0 20px;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-section h3 {
  color: #333;
  margin-bottom: 20px;
  font-size: 18px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #409EFF;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #f0f0f0;
  transition: background-color 0.3s;
}

.social-link:hover {
  background-color: #e0e0e0;
}

.social-link .el-icon {
  font-size: 20px;
  color: #666;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  color: #666;
}
</style> 